/*
 * Copyright 2017-2101 Innel.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hykj.xxltest.model;

        import com.hykj.xxltest.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;



/**
 * 
 *
 * @author innel
 * @email 2638086622@qq.com
 * @date 2018-07-12 17:50:45
 */
@ApiModel(description = "")
public class OrderlineModel extends BaseModel{

	        /**
         * id
         */
        @ApiModelProperty(value = "id")
        private Integer id;
	        /**
         * 订单父id
         */
        @ApiModelProperty(value = "订单父id")
        private Integer orderid;
	        /**
         * 产品Id
         */
        @ApiModelProperty(value = "产品Id")
        private Integer productid;
	        /**
         * 产品数量
         */
        @ApiModelProperty(value = "产品数量")
        private Integer productnum;
	        /**
         * 产品价格
         */
        @ApiModelProperty(value = "产品价格")
        private BigDecimal price;
	        /**
         * 子订单总价
         */
        @ApiModelProperty(value = "子订单总价")
        private BigDecimal amount;
	        /**
         * 规格id
         */
        @ApiModelProperty(value = "规格id")
        private Integer specid;
	        /**
         * 重量
         */
        @ApiModelProperty(value = "重量")
        private Double weight;
	        /**
         * 规格名称
         */
        @ApiModelProperty(value = "规格名称")
        private String specname;
	        /**
         * 规格价格
         */
        @ApiModelProperty(value = "规格价格")
        private BigDecimal specprice;
	
	        /**
         * 设置：id
         */
        public void setId(Integer id) {
            this.id = id;
        }
        /**
         * 获取：id
         */
        public Integer getId() {
            return id;
        }
	        /**
         * 设置：订单父id
         */
        public void setOrderid(Integer orderid) {
            this.orderid = orderid;
        }
        /**
         * 获取：订单父id
         */
        public Integer getOrderid() {
            return orderid;
        }
	        /**
         * 设置：产品Id
         */
        public void setProductid(Integer productid) {
            this.productid = productid;
        }
        /**
         * 获取：产品Id
         */
        public Integer getProductid() {
            return productid;
        }
	        /**
         * 设置：产品数量
         */
        public void setProductnum(Integer productnum) {
            this.productnum = productnum;
        }
        /**
         * 获取：产品数量
         */
        public Integer getProductnum() {
            return productnum;
        }
	        /**
         * 设置：产品价格
         */
        public void setPrice(BigDecimal price) {
            this.price = price;
        }
        /**
         * 获取：产品价格
         */
        public BigDecimal getPrice() {
            return price;
        }
	        /**
         * 设置：子订单总价
         */
        public void setAmount(BigDecimal amount) {
            this.amount = amount;
        }
        /**
         * 获取：子订单总价
         */
        public BigDecimal getAmount() {
            return amount;
        }
	        /**
         * 设置：规格id
         */
        public void setSpecid(Integer specid) {
            this.specid = specid;
        }
        /**
         * 获取：规格id
         */
        public Integer getSpecid() {
            return specid;
        }
	        /**
         * 设置：重量
         */
        public void setWeight(Double weight) {
            this.weight = weight;
        }
        /**
         * 获取：重量
         */
        public Double getWeight() {
            return weight;
        }
	        /**
         * 设置：规格名称
         */
        public void setSpecname(String specname) {
            this.specname = specname;
        }
        /**
         * 获取：规格名称
         */
        public String getSpecname() {
            return specname;
        }
	        /**
         * 设置：规格价格
         */
        public void setSpecprice(BigDecimal specprice) {
            this.specprice = specprice;
        }
        /**
         * 获取：规格价格
         */
        public BigDecimal getSpecprice() {
            return specprice;
        }
	}
